package com.atguigu.paymentdemo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * 用户订单是否已购买查询BO
 *
 * @author wulifeng
 */
@Data
@ApiModel("用户订单是否已购买查询BO")
public class OrderInfoBo {
    private static final long serialVersionUID = 1L;

    /**
     * 课程id
     */
    @NotNull(message = "课程id不能为空")
    @ApiModelProperty("课程id")
    private Long infoId;
    /**
     * 用户id
     */
    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private String userId;

}
